package calendar.view.panels;

import com.google.api.services.calendar.model.Event;
import swing.GridPanel;

public class EventGridPanel extends GridPanel {

    public EventGridPanel(Event event) {
        if (event.getStart() != null)
            addLabel("Start Time", event.getStart());

        if (event.getEnd() != null)
            addLabel("End Time", event.getEnd());
    }
}
